import React from 'react';
import ReactDom from 'react-dom';
import RouterConfig from './RouterConfig';
import Utils from 'fyBase/common/Utils'; 
Utils.initialFontSize();   //初始化页面字体的大小
if(window.cordova)
{
	document.addEventListener("deviceready", function(){  
		window.cordova.ready=true;
		ReactDom.render((RouterConfig),document.getElementById("root-container"));
	}, false);
}
else
{
	window.platform="ios";
	ReactDom.render((RouterConfig),document.getElementById("root-container"));	
}
